<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>snapol ajax editor</title>
<usergroup>40</usergroup>
<usergroup_edit>50</usergroup_edit>
<parent_url>Cms</parent_url>
<url>/admin/ajax-editor</url>
<overwrite>1</overwrite>
<menuaktiv>0</menuaktiv> 
<template>admin_editor.html</template> 

<menu_active>1</menu_active>
</head>


<body>

<script type="text/javascript">
    prepareEditor('snapol_editor', 'propid'); 
</script>

       
    <input id="main_id2" name="main_id2" type="hidden" value="[data_detail:id2]" /> 
  
    <div id="top_navigation">
    
    <h2>[data_detail:title]</h2> 
    
        <ul class="snapol_horizontal_list">
    
    <li><a href="#" class = "snapol_button" onclick="saveContent('page', 'text', 'snapol_editor', 'main_id2', '[http_referer]'); return false;">Save</a></li>
    <li><a href="#" class = "snapol_button" onclick="deleteCom();return false;">delete com</a></li>
    
    <li><a href = "#" class = "snapol_button" onclick = "showHtmlCodeWizzard();return false;">Insert Html code</a></li>
    <li><a href = "#" class = "snapol_button" onclick = "showSortEditor(); return false;">Reihenfolge</a></li>
    
    </ul>
    </div>
    
    
    
    
    <div id="snapol_editor">
    [data_detail:text]</div>
<div id="snapol_toolbar">
    <p>
        Toolbar</p>
    <div accordion="" com="data" id="accordion" table="_com_group">
        <h3>
            <a href="#">[com_group]</a></h3>
        <div>
            <ul com="data" orderby="doc_title" table="_com" where="__com_group=[_com_group_id]">
                <li>
                    <a href="#" onclick="insertCom('[com]', 'body', 'snapol_editor'); return false;">[doc_title]</a></li>
            </ul>
        </div>
    </div>
</div>

<div class="snapol_property_list" id="propid">
    proerpty</div>

</body>
</html>
